Mpdf\Image\ImageProcessor D

Total Complexity 318
Dependencies 21
Dependents 5
Total lines 1,405
Lines of code 1,004
Logical lines of code 760
Comment lines 226
Methods 12
Properties 15

Methods 12

Method Rating Maintainability Complexity Lines of code
getImage()
D
0
235 712
convertImage()
D
20
57 205
jpgHeaderFromString()
S
58 8 13
jpgDataFromHeader()
S
56 4 17
imageError()
S
65 4 7
urldecodeParts()
S
61 2 12
__construct()
S
58 1 15
translateValue()
S
68 2 7
gzCompress()
S
70 2 6
setLogger()
S
77 1 4
fourBytesToInt()
S
76 1 3
twoBytesToInt()
S
77 1 3